package com.nw.dsl4j.samples.properties;

import java.util.ArrayList;
import java.util.List;

import com.nw.dsl4j.annotations.Cardinality;
import com.nw.dsl4j.annotations.CardinalityType;
import com.nw.dsl4j.annotations.DSL;
import com.nw.dsl4j.annotations.Rule;

@DSL(imports={"com.nw.dsl4j.grammar"})
@Rule(pattern="$props")
public class PropFile {

	@Cardinality(cardinalityType=CardinalityType.ZeroOrMore)
	List<Prop> props = new ArrayList<Prop>();

	public List<Prop> getProps() {
		return props;
	}
	
	public void setProps(List<Prop> props) {
		this.props = props;
	}
   
}
